<template>
  <div class="xw-jsx">
    <h2>xw-jsx</h2>
    <A xw="wright" :age="18" @sayHello="sayHelloFun"></A>
  </div>
</template>

<script setup lang="ts">
import A from "@/views/tsx/xw.tsx";
const sayHelloFun = (name) => {
  console.log("父组件接收到------", name);
};
</script>

<style lang="scss" scoped></style>
